package com.atguigu.mp.service;

import com.atguigu.mp.bean.User;
import com.atguigu.mp.mapper.UserMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/*==========================================
      时 间:   2022-01-11
      讲 师:   刘  辉
      描 述:   尚硅谷教学团队
 ==========================================*/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper,User> implements UserService {

    public  void  list1(){
        List<User> users = baseMapper.selectList(null);
        System.out.println(users.size());
    }

}
